package com.xingli.zhajinhua.beans;



import java.util.Arrays;

public class PlayerCards {
    private Card[] cards;
    private String cardsType;
    private int index;
    private boolean result;
    private int weight;

    public PlayerCards() {
    }

    public PlayerCards(Card[] cards, String cardsType, int index, boolean result, int weight) {
        this.cards = cards;
        this.cardsType = cardsType;
        this.index = index;
        this.result = result;
        this.weight = weight;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public Card[] getCards() {
        return cards;
    }

    public void setCards(Card[] cards) {
        this.cards = cards;
    }

    public String getCardsType() {
        return cardsType;
    }

    public void setCardsType(String cardsType) {
        this.cardsType = cardsType;
    }

    @Override
    public String toString() {
        return "PlayerCards{" +
                "cards=" + Arrays.toString(cards) +
                ", cardsType='" + cardsType + '\'' +
                ", index=" + index +
                ", result=" + result +
                ", weight=" + weight +
                "}";
    }
}
